﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OnlineMovieTicket.Services.IServices;
using OnlineMovieTicket.Data.IRepository;
using OnlineMovieTicket.Data.Repository;
using OnlineMovieTicket.Model;

namespace OnlineMovieTicket.Services.Services
{
    public class CinemaService : ICinemaService
    {
        ICinemaRepository CinemaRepo;

        public CinemaService()
        {
            CinemaRepo = new CinemaRepository();
        }

        public IList<Cinema> GetCinemas()
        {
            return CinemaRepo.GetCinemas();
        }
    }
}
